package com.zwk.edu.client;

import com.zwk.base.entity.CommonResult;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zwk
 * @create 2022/8/26 16:36
 */
@Component
public class HystrixVodClientImpl implements VodClient {
    // 出错之后才会执行
    @Override
    public CommonResult removeAliyunVideo(String id) {
        return CommonResult.error().message("删除视频错误");
    }

    @Override
    public CommonResult deleteBatch(List<String> videoList) {
        return CommonResult.error().message("批量删除视频错误");
    }
}
